<template>
  <div>
    <keyboard :phone="phone" @sublimt="sublimt" @close="close" v-if="showKeyboard"></keyboard>
  </div>
</template>
<script>
  import keyboard from '../components/keyboard.vue'
  export default {
    components: {keyboard},
    data () {
      return {
        phone: '13619604534',
        showKeyboard: false
      }
    },
    methods: {
      sublimt (data) {
        console.log(data)
      },
      close () {
        this.showKeyboard = false
      }
    }
  }
</script>